package com.heima.wemedia.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.model.common.dtos.ResponseResult;
import com.heima.model.wemedia.dtos.ChannelDto;
import com.heima.model.wemedia.pojos.WmChannel;
import org.springframework.web.bind.annotation.RequestBody;

public interface WmchannelService extends IService<WmChannel> {
    public ResponseResult findAll();

    /*
    * 删除
    * */
    ResponseResult delete(Integer id);


    /*
    * 分页查询
    * */
    public ResponseResult list( ChannelDto dto);


    /*
    *
    * 保存
    * */
    ResponseResult save1(WmChannel wmChannel);

    /*
    * 修改频道
    *
    * */
    Object update1(WmChannel wmChannel);
}
